#ifndef _SPIPEIMPL_H_
#define _SPIPEIMPL_H_

#include "stdafx.h"

class CSPipeImpl : public ISPipe, public CUnknownImp
{
public:
    CSPipeImpl(void);
    virtual ~CSPipeImpl(void);

    BEGIN_STDCOM_MAP
    STDCOM_INTERFACE_ENTRY(ISPipe)
    STDCOM_INTERFACE_ENTRY_UNKNOWN_(ISPipe)
    END_STDCOM_MAP

public:
    // ISPipe
    std_method(OpenPipe)(const SafeStringPtr* sptr);
    std_method(WaitPipe)();
    std_method(ClosePipe)();

public:
    _fd_t m_pipe;
};
#endif
